package br.com.pb.bymychef.persistencia.dao.interfaces;

import java.io.Serializable;
import java.util.List;

public interface DAO<T, Id extends Serializable> {

    public T insert(T obj);

    public void remove(T obj);

    public void update(T obj);

    public T findById(Id pk);

    public List<T> listaTodos();

    public List<T> listar(String jpql);

    public List<T> select(String SQL);

}